compute ROI
Deprecated
use IRR.computeIRR() instead
Replace with
IRR.computeIRR()Compute Internal Rate of Return (IRR) - sometimes referred to as the Return On Investment (ROI), or Annual Return Percent. Critically the IRR is an expression of the return over time (i.e. annualised), whereas a simple ROI does take time into account. Defaults to the Secant problem solving strategy, with: max 100 iterations, and no seed sign reversal upon problem resolution failure. There can be more than one solution to solving IRR - there is no guaranteed which solution will be presented. This largely depends on the starting seed (initial guess) Refer: IRR.computeIRR for more details
Return
The best estimate 'sanitized' IRR for the cash flow series. Returns Double.NaN if no IRR was found, or if the cash flows are invalid. Can return zero, and +/- infinity.
Parameters
The time series of cash flows. This time series must include the initial balance as a positive and the ending balance as a negative value.
The starting seed value to begin computations with.